package com.orientsec.autotest.project.system.autoRequest.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.orientsec.autotest.framework.web.domain.BaseEntity;

/**
 * 请求功能表 auto_request
 * 
 * @author autotest
 * @date 2020-01-15
 */
public class AutoRequest extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 请求功能编号 */
	private String requestSeqNo;
	/** 功能号(交易编码、SPX功能号等) */
	private String requestNo;
	/** 请求的协议类型(1cpack包协议 2spx竖杠包协议 3t2 4kesb */
	private String requestAgreement;
	/** 请求类型 */
	private String requestType;
	/** 是否是查询0-不是,1-是 */
	private Integer ifSearch;
	/** 请求功能名称 */
	private String requestName;
	/** 请求功能描述 */
	private String requestDisc;
	/** 相关功能编号 */
	private String relateNo;

	public void setRequestSeqNo(String requestSeqNo) 
	{
		this.requestSeqNo = requestSeqNo;
	}

	public String getRequestSeqNo() 
	{
		return requestSeqNo;
	}
	public void setRequestNo(String requestNo) 
	{
		this.requestNo = requestNo;
	}

	public String getRequestNo() 
	{
		return requestNo;
	}
	public void setRequestAgreement(String requestAgreement) 
	{
		this.requestAgreement = requestAgreement;
	}

	public String getRequestAgreement() 
	{
		return requestAgreement;
	}
	public void setRequestType(String requestType) 
	{
		this.requestType = requestType;
	}

	public String getRequestType() 
	{
		return requestType;
	}
	public void setIfSearch(Integer ifSearch) 
	{
		this.ifSearch = ifSearch;
	}

	public Integer getIfSearch() 
	{
		return ifSearch;
	}
	public void setRequestName(String requestName) 
	{
		this.requestName = requestName;
	}

	public String getRequestName() 
	{
		return requestName;
	}
	public void setRequestDisc(String requestDisc) 
	{
		this.requestDisc = requestDisc;
	}

	public String getRequestDisc() 
	{
		return requestDisc;
	}
	public void setRelateNo(String relateNo) 
	{
		this.relateNo = relateNo;
	}

	public String getRelateNo() 
	{
		return relateNo;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("requestSeqNo", getRequestSeqNo())
            .append("requestNo", getRequestNo())
            .append("requestAgreement", getRequestAgreement())
            .append("requestType", getRequestType())
            .append("ifSearch", getIfSearch())
            .append("requestName", getRequestName())
            .append("requestDisc", getRequestDisc())
            .append("relateNo", getRelateNo())
            .toString();
    }
}
